/* 清除浮动 */
.clearfix:after,
.clearfix:before {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
/* 基本样式 */
#list li {
  list-style: none;
  max-width: 200px;
}
p{
    margin: 0;
}
*{
    margin: 0;
    padding: 0;
}

#list{
  /* 在实际使用时宽度设置为auto */
    width: 500px; 
    margin: 0 auto;

}
#ul-list{
    width: auto;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#ul-list .item {
  float: left;
  text-align: center;
  margin-bottom: 20px;
}
#ul-list .item:nth-child(even){
    margin-left: 10px;
}
#ul-list .item .img {
  width: 170px;
  height: 128px;
}
.des{
    margin-top: 5px;
    line-height: 14px;
    max-width: 170px;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.pag-list{
    display: flex;
    justify-content: center;
}
.pag-list .item{
    margin: 5px;
    padding: 5px;
    background-color: #f5f5f5;
    font-size: 10px;
    cursor: pointer;
}
.pag-list .item.active{
    background-color: #565656;
    color: #fff;

}